﻿using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NTmdb.TestProject
{
    /// <summary>
    ///     This is a test class for TmdbPersonPreviewListTest and is intended
    ///     to contain all TmdbPersonPreviewListTest Unit Tests
    /// </summary>
    [TestClass]
    public class TmdbPersonPreviewListTest
    {
        /// <summary>
        ///     A test for TmdbPersonPreviewList Constructor
        /// </summary>
        [TestMethod]
        public void TmdbPersonPreviewListConstructorTest()
        {
            var target = new TmdbPersonPreviewList();
            Assert.IsNotNull( target );
        }

        /// <summary>
        ///     A test for People
        /// </summary>
        [TestMethod]
        public void PeopleTest()
        {
            var target = new TmdbPersonPreviewList();
            var expected = new List<TmdbPersonPreview>();
            target.People = expected;
            var actual = target.People;
            Assert.AreSame( expected, actual );
        }

        /// <summary>
        ///     A test for Serialize & Deserialize
        /// </summary>
        [TestMethod]
        public void SerializeDeserializeTest()
        {
            Assert.Inconclusive();
        }
    }
}